@use './color-modes' as color-modes;

// "-active" for `aria-activedescendant`
@mixin menuitem-active {
  background-color: var(--rs-menuitem-active-bg);
  color: var(--rs-menuitem-active-text);

  @include color-modes.high-contrast-mode {
    text-decoration: underline;
    box-shadow: inset 0 0 0 2px #fff;
  }
}
